package com.demo.observer.ob_02.event.listener;

import com.demo.observer.ob_02.event.LotteryResult;


/**
 * @Author: shubin_yao
 * @Date: 2022/06/04/15:31
 * @Description:
 */

public class MessageEventListener implements EventListener{

    @Override
    public void doEvent(LotteryResult result) {
        System.out.println("发送短信通知(短信)："+ result.getMsg());
    }
}
